package com.spring.cloud.consumer.project.service;

import com.spring.cloud.consumer.project.service.impl.MServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "provider-h1",url="127.0.0.1:8081",fallback = MServiceImpl.class)
public interface MService {
    @GetMapping(value = "get")
    String getValue();
}
